package cc.sbootd2.sbootd2web.service;

import cc.sbootd2.sbootd2web.pojo.News;

import java.util.List;

public interface NewsService {
    int save(News news);
    int update(News news);
    int delete(int id);
    int deleteAll(List<Integer> ids);

    News getOneNews(int id);

    int getRecordCount(News news);
    List<News> getNewsListByPage(News news);

//    List<News>  getNewsList(int top,News news,String orderby);




}
